package com.itheima.ood.keywords.demo03;

import com.itheima.ood.keywords.demo02.Student;

public class NewStudent extends Student {

    public static void main(String[] args) {

        Student student = new Student();
        student.sleep();

        NewStudent newStudent = new NewStudent();
        newStudent.method();
        newStudent.sleep();

    }



}
